@media (max-width: 768px) {
    /* 头部 */
    .header {
        position: sticky;
        background-color: rgba(0, 0, 0, 0.7);
    }
    .header .header-c {
        padding: 8px 0;
    }
    .header .logo {
        margin-left: 15px;
    }

    .header .logo img {
        width: 80%;
    }
    .header .nav-toggle {
        display: flex;
        flex-wrap: wrap;
        align-content: space-between;
        justify-content: center;
        margin-right: 15px;
        width: 40px;
        height: 30px;
    }
    .header .nav-toggle .icon-bar {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #8c8c8c;
        cursor: pointer;
        transition: all 0.5s ease;
        transform-origin: left;
    }

    .header .nav-toggle.close .icon-bar:first-child {
        transform: rotateZ(45deg);
    }

    .header .nav-toggle.close .icon-bar:nth-child(2) {
        width: 0;
        transform: translateX(50%);
    }

    .header .nav-toggle.close .icon-bar:last-child {
        transform: rotateZ(-45deg);
    }

    .header .nav {
        position: absolute;
        top: 100%;
        margin: 0;
        flex-wrap: wrap;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }

    .header .nav.show {
        max-height: 1000px;
    }

    .header .nav .nav-item {
        width: 100%;
        text-align: center;
        color: #fff;
    }

    /* 作品展示部分 */
    .works-list .works-item {
        width: 48%;
    }
}
@media (max-width: 1220px) {
    .header .header-c {
        width: 100%;
    }

    .footer {
        width: 100%;
    }
}
